$(document).ready(function() {
	/* Apply fancybox to multiple items */
	
	$("a.picGroup").fancybox({
	'showCloseButton'	: false,
	'titlePosition' 		: 'inside',
	'titleFormat'		: formatTitle,
});
	});

function formatTitle(title, currentArray, currentIndex, currentOpts) {
    return '<div id="tip7-title">' + (title && title.length ? '<b>' + title + '</b>' : '' ) +  '</div>';
}